import Qt 4.7

Rectangle {
    property alias text: noteText.text
    z: 128
    anchors.fill: parent
    visible: true
    opacity: 0.9
    color: "green"

    onVisibleChanged: if (visible) timer.start();

    Timer {
        id: timer
        interval: appItem.splashTimeout
        onTriggered: visible = false;
    }

    Text {
        id: noteText
        color: heiaFocusColorOuter
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter
        font.pixelSize: applicationFontSize
    }

    MouseArea {
        anchors.fill: parent
        onClicked: {timer.stop(); visible = false;}
    }
}
